package com.ruoyi.common.code;

/**
 * 全局业务错误码枚举
 */
public interface ServiceHttpCode {

    ErrorCode PAD_KEY_ERROR = new ErrorCode(1000, "接口数据签名异常");

    /** 平板 ********/
    ErrorCode BIND_ERROR_KEY = new ErrorCode(2001, "Pad扫码绑定时，传入的KEY错误");
    ErrorCode BIND_DEVICE_REGISTERED = new ErrorCode(2002, "仪器已经被注册");
    ErrorCode BIND_PAD_REGISTERED = new ErrorCode(2003, "平板SN码已注册");
    ErrorCode BIND_ERROR_QR_REPEAT = new ErrorCode(2004, "扫码绑定，重复扫码");
    ErrorCode BIND_QR_SUCCESS = new ErrorCode(2005, "注册成功");
    ErrorCode BIND_ERROR_BIND_KEY = new ErrorCode(2006, "BIND-KEY 错误");
    ErrorCode BIND_SUCCESS = new ErrorCode(2009, "仪器注册成功");
    ErrorCode BIND_FAIL = new ErrorCode(2010, "仪器注册失败");
    ErrorCode BIND_BOUND = new ErrorCode(2011, "仪器已经注册");
    ErrorCode BIND_UNBOUND = new ErrorCode(2012, "仪器还未注册");
    ErrorCode BIND_ILLEGAL_DEVICE = new ErrorCode(2013, "非法仪器");

    ErrorCode BIND_UNBOUND_USER = new ErrorCode(2014, "仪器还未绑定用户");

    /** 电机库 ********/
    ErrorCode MOTOR_LIB_HAVE_NEW = new ErrorCode(3000, "Pad电机库需要更新");
    ErrorCode MOTOR_LIB_NOT_NEW = new ErrorCode(3001, "Pad电机库不需要更新");

    /** 用户信息库 ********/
    ErrorCode USER_LIB_HAVE_NEW = new ErrorCode(3010, "Pad测试员信息库需要更新");
    ErrorCode USER_LIB_NOT_NEW = new ErrorCode(3011, "Pad测试员信息库不需要更新");

    /** 公共 ********/
    ErrorCode MEDIA_PAR_ERROR = new ErrorCode(5000, "照片、视频上传参数错误");
    ErrorCode MEDIA_DEVICE_TYPE_ERROR = new ErrorCode(5001, "测试APP类型错误");

    /** 水泵********/
    ErrorCode SHB_CHART_POINT_LESS = new ErrorCode(5100, "水泵工况点选择少于三个点");
    ErrorCode SHB_CHART_VALID_POINT_LESS = new ErrorCode(5101, "将相同瞬时流量的工况点去除后，有效工况点小于三个点，无法绘制工况图");

    /** 通风机********/
    ErrorCode TFJ_CHART_POINT_LESS = new ErrorCode(5200, "通风机工况点选择少于四个点");
    ErrorCode TFJ_CHART_VALID_POINT_LESS = new ErrorCode(5201, "将相同风量的工况点去除后，有效工况点小于四个点，无法绘制工况图");



}
